21. Video: Calculating the p-value
Calculating the p-value
There are a lot of moving parts in these videos. Let's highlight the process:
- Simulate the values of your statistic that are possible from the null.
- Calculate the value of the statistic you actually obtained in your data.
- Compare your statistic to the values from the null.
- Calculate the proportion of null values that are considered extreme based on your alternative.